Remove gtk_dialog_run()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 30 Apr 2020 17:53:02 +0000 (18:53 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 May 2020 12:45:15 +0000 (13:45 +0100)
commitd54b7dec94d5a756453aadcc59f51f509cf1049b
treef3b15e1a4a25bd341aea3277361960f1d9323225
parent0a6848d70bd49d67034ceae005ce972386f08553
Remove gtk_dialog_run()

Nested main loops are bad, as they introduce layers of complexity caused
by the potential re-entrancy in the case of multiple event sources, like
IPC, threads, etc. Additionally, the programming model they provide—stop
the world while spinning a new loop—does not conform to the event-driven
model employed by GTK.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkdialog.c
gtk/gtkdialog.h